package com.study.utils;

import cn.hutool.core.codec.Rot;
import org.junit.jupiter.api.Test;

/**
 * @author zhuzi
 * 2024/9/15 22:32
 */
public class HtoolPwdDemo {
    @Test
    public void test() {
        String str = "1f2e9df6131b480b9fdddc633cf24996";

        // 4s5r2qs9464o713o2sqqqp966ps57229
        String encode13 = Rot.encode13(str);

        System.out.println(encode13);
        // 解码
        String decode13 = Rot.decode13(encode13);
        System.out.println(decode13);
    }

    @Test
    public void sign() {

    }
}
